gtk4.git
18 years agoBump version
Matthias Clasen [Wed, 6 Jun 2007 13:42:00 +0000 (13:42 +0000)]
Bump version

svn path=/trunk/; revision=18059

18 years ago2.11.2
Matthias Clasen [Wed, 6 Jun 2007 13:40:24 +0000 (13:40 +0000)]
2.11.2

svn path=/trunk/; revision=18057

18 years agoUpdates
Matthias Clasen [Wed, 6 Jun 2007 13:07:50 +0000 (13:07 +0000)]
Updates

svn path=/trunk/; revision=18056

18 years agoFix the build
Matthias Clasen [Wed, 6 Jun 2007 13:05:34 +0000 (13:05 +0000)]
Fix the build

svn path=/trunk/; revision=18055

18 years agouse GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
Kristian Rietveld [Wed, 6 Jun 2007 12:56:13 +0000 (12:56 +0000)]
use GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.

2007-06-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.

svn path=/trunk/; revision=18054

18 years agonew function. (#342471, Lorenzo Gil Sanchez).
Kristian Rietveld [Wed, 6 Jun 2007 12:54:35 +0000 (12:54 +0000)]
new function. (#342471, Lorenzo Gil Sanchez).

2007-06-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
function.  (#342471, Lorenzo Gil Sanchez).

* gtk/gtk.symbols: updated.

svn path=/trunk/; revision=18053

18 years agoremove unused call to gtk_widget_size_request(). (Reported by Carlos
Kristian Rietveld [Wed, 6 Jun 2007 12:33:08 +0000 (12:33 +0000)]
remove unused call to gtk_widget_size_request(). (Reported by Carlos

2007-06-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
call to gtk_widget_size_request().  (Reported by Carlos
Garnacho).

svn path=/trunk/; revision=18052

18 years agobail out if last_window is not a GdkWindow anymore. (Fixes #434021,
Kristian Rietveld [Wed, 6 Jun 2007 12:28:50 +0000 (12:28 +0000)]
bail out if last_window is not a GdkWindow anymore. (Fixes #434021,

2007-06-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
last_window is not a GdkWindow anymore. (Fixes #434021, several
reporters).

svn path=/trunk/; revision=18051

18 years agoAdd gdkmedialib.h to EXTRA_DIST so this header file gets included with the
Brian Cameron [Wed, 6 Jun 2007 10:15:23 +0000 (10:15 +0000)]
Add gdkmedialib.h to EXTRA_DIST so this header file gets included with the

2007-06-06  Brian Cameron  <brian.cameron@sun.com>

        * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
          file gets included with the distribution, as needed.  Fixes bug
          #442888.  Reviewed by Matthias Clasen.

svn path=/trunk/; revision=18050

18 years agoIgnore if the old and new windows are the same.
Richard Hult [Wed, 6 Jun 2007 09:06:59 +0000 (09:06 +0000)]
Ignore if the old and new windows are the same.

2007-06-06  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c
(_gdk_quartz_events_update_mouse_window): Ignore if the old and new
windows are the same.

svn path=/trunk/; revision=18049

18 years agoalso remove the auto expand timeout if it exists.
Kristian Rietveld [Wed, 6 Jun 2007 08:54:30 +0000 (08:54 +0000)]
also remove the auto expand timeout if it exists.

2007-06-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
auto expand timeout if it exists.

svn path=/trunk/; revision=18048

18 years agoUpdate comment to be more clear and print a warning if we try to create a
Richard Hult [Wed, 6 Jun 2007 08:29:20 +0000 (08:29 +0000)]
Update comment to be more clear and print a warning if we try to create a

2007-06-06  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
Update comment to be more clear and print a warning if we try to
create a crossing event without knowing what the current mouse
window is, to help track down focus bugs.

* gdk/quartz/gdkevents-quartz.c
(_gdk_quartz_events_update_focus_window): Fix indentation.

svn path=/trunk/; revision=18047

18 years agoDon't let temp windows become key window.
Richard Hult [Wed, 6 Jun 2007 08:21:14 +0000 (08:21 +0000)]
Don't let temp windows become key window.

2007-06-05  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
window.

svn path=/trunk/; revision=18046

18 years agoFix embarrassing crash. (#444457, Torsten Schoenfeld)
Tor Lillqvist [Wed, 6 Jun 2007 00:03:25 +0000 (00:03 +0000)]
Fix embarrassing crash. (#444457, Torsten Schoenfeld)

2007-06-06  Tor Lillqvist  <tml@novell.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
embarrassing crash. (#444457, Torsten Schoenfeld)

svn path=/trunk/; revision=18045

18 years agoDrop the phrase saying invisible text doesn't work (#444236).
Yevgen Muntyan [Tue, 5 Jun 2007 17:39:06 +0000 (17:39 +0000)]
Drop the phrase saying invisible text doesn't work (#444236).

2007-06-05  Yevgen Muntyan  <muntyan@tamu.edu>

* demos/gtk-demo/textview.c (insert_text): Drop the phrase
saying invisible text doesn't work (#444236).

svn path=/trunk/; revision=18044

18 years agoCheck that window_private is not NULL before using it. (#444351, David
Matthias Clasen [Tue, 5 Jun 2007 15:53:41 +0000 (15:53 +0000)]
Check that window_private is not NULL before using it. (#444351, David

2007-06-05  Matthias Clasen <mclasen@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
        window_private is not NULL before using it.  (#444351, David Ronis)

svn path=/trunk/; revision=18043

18 years agodrop the paper sheet. d is used for search, rather than find within a
Jakub Steiner [Tue, 5 Jun 2007 10:49:06 +0000 (10:49 +0000)]
drop the paper sheet. d is used for search, rather than find within a

2007-06-05  Jakub Steiner <jimmac@ximian.com>

* gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
d is used for search, rather than find within a document
dialog).

svn path=/trunk/; revision=18042

18 years agoFix #399071, suggestion from Benoit Dejean.
Kristian Rietveld [Mon, 4 Jun 2007 23:48:38 +0000 (23:48 +0000)]
Fix #399071, suggestion from Benoit Dejean.

2007-06-05  Kristian Rietveld  <kris@gtk.org>

Fix #399071, suggestion from Benoit Dejean.

* gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
function, factored out code iterating (columns, values) vectors from
gtk_list_store_new_with_valuesv to here,
(gtk_list_store_set_valuesv): new public function to set list store
values using (columns, values) vectors,
(gtk_list_store_new_with_valuesv): call new _set_vector_internal
instead.

* gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
(gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
likewise.

* gtk/gtk.symbols: updated.

svn path=/trunk/; revision=18041

18 years agoDon't try to make temp windows key windows, fixes problem introduced
Richard Hult [Mon, 4 Jun 2007 21:25:42 +0000 (21:25 +0000)]
Don't try to make temp windows key windows, fixes problem introduced

2007-06-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(show_window_internal): Don't try to make temp windows key
windows, fixes problem introduced below.

svn path=/trunk/; revision=18040

18 years agoFix typo.
Richard Hult [Mon, 4 Jun 2007 20:46:16 +0000 (20:46 +0000)]
Fix typo.

svn path=/trunk/; revision=18039

18 years ago* gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
Richard Hult [Mon, 4 Jun 2007 20:45:30 +0000 (20:45 +0000)]
* gdk/quartz/gdkwindow-quartz.c: Implement simple versions of

2007-06-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c: * gdk/quartz/gdkwindow-quartz.c:
Implement simple versions of gdk_window_set_accept_focus and
gdk_window_set_focus_on_map.

svn path=/trunk/; revision=18038

18 years agoImplement.
Richard Hult [Mon, 4 Jun 2007 20:08:31 +0000 (20:08 +0000)]
Implement.

2007-06-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
(gdk_window_raise): Implement.

svn path=/trunk/; revision=18037

18 years agoImplement gdk_window_set_transient_for.
Richard Hult [Mon, 4 Jun 2007 20:02:58 +0000 (20:02 +0000)]
Implement gdk_window_set_transient_for.

2007-06-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
* gdk/quartz/gdkwindow-quartz.h: Implement
gdk_window_set_transient_for.

svn path=/trunk/; revision=18036

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Mon, 4 Jun 2007 19:22:22 +0000 (19:22 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18035

18 years agogtk/gtklinkbutton.h Change function argument "link" to "link_" to fix
Cody Russell [Mon, 4 Jun 2007 18:57:55 +0000 (18:57 +0000)]
gtk/gtklinkbutton.h Change function argument "link" to "link_" to fix

2007-06-04  Cody Russell  <bratsche@gnome.org>

        * gtk/gtklinkbutton.h
        * gtk/gtkaboutdialog.h: Change function argument "link"
        to "link_" to fix warnings for applications compiling
        with -Wshadow. (#379213)

svn path=/trunk/; revision=18033

18 years agoAdding bug number to ChangeLog
Cody Russell [Mon, 4 Jun 2007 18:18:13 +0000 (18:18 +0000)]
Adding bug number to ChangeLog

svn path=/trunk/; revision=18031

18 years agoCheck if down_button is NULL. This happens when the pathbar button for the
Cody Russell [Mon, 4 Jun 2007 18:17:14 +0000 (18:17 +0000)]
Check if down_button is NULL. This happens when the pathbar button for the

2007-06-04  Cody Russell  <bratsche@gnome.org>

        * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
        if down_button is NULL.  This happens when the pathbar button
        for the current directory is too large to fit in the
        space, e.g. on Windows for directories named something like
        "My Documents and Settings".

svn path=/trunk/; revision=18030

18 years agoBump version
Matthias Clasen [Mon, 4 Jun 2007 17:03:52 +0000 (17:03 +0000)]
Bump version

svn path=/trunk/; revision=18029

18 years ago2.11.1
Matthias Clasen [Mon, 4 Jun 2007 17:01:14 +0000 (17:01 +0000)]
2.11.1

svn path=/trunk/; revision=18027

18 years agoUpdates
Matthias Clasen [Mon, 4 Jun 2007 15:36:25 +0000 (15:36 +0000)]
Updates

svn path=/trunk/; revision=18026

18 years agoMove "move-focus" signals from several widgets to GtkWidget to enable more
Michael Natterer [Mon, 4 Jun 2007 15:00:22 +0000 (15:00 +0000)]
Move "move-focus" signals from several widgets to GtkWidget to enable more

2007-06-04  Michael Natterer  <mitch@imendio.com>

Move "move-focus" signals from several widgets to GtkWidget to
enable more flexible costomization of keyboard navigation via
bindings. Fixes bug #414947.

* gtk/gtkwidget.c: add "move-focus" binding signal, default to
calling the toplevel GtkWindow's "move-focus" vfunc.

* gtk/gtktextview.[ch]
* gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
code that makes sure that both emitting the signal on the widget
and overriding the virtual functions keeps working as before.

* gtk/gtktoolbar.c: remove "move-focus" signal here too and use
GtkWidget's signal. This change slightly changes keyboard
navigation in toolbars. I'll fix the behavior if somebody can
explain me if and how exactly the new behavior is broken.

svn path=/trunk/; revision=18025

18 years agoAdd a create-window signal that allows to override the global
Matthias Clasen [Mon, 4 Jun 2007 14:39:56 +0000 (14:39 +0000)]
Add a create-window signal that allows to override the global

2007-06-04  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmarshalers.list:
        * gtk/gtknotebook.[hc]: Add a create-window signal that allows
        to override the global create-window-hook on a per-notebook
        basis. The default handler falls back to the global hook.
        (#386935, Christian Hammond)

svn path=/trunk/; revision=18024

18 years agoRevert previous commit; the API is not yet finalized - see bug #166995.
Emmanuele Bassi [Mon, 4 Jun 2007 14:37:17 +0000 (14:37 +0000)]
Revert previous commit; the API is not yet finalized - see bug #166995.

2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkradiobutton.[ch]:
* gtk/gtk.symbols:
* tests/testgtk.c: Revert previous commit; the API is not yet
finalized - see bug #166995.

svn path=/trunk/; revision=18023

18 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 4 Jun 2007 11:23:09 +0000 (11:23 +0000)]
Updated Norwegian bokmål translation.

2007-06-04  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=18022

18 years agoUpdate Norwegian bokmål translation.
Kjartan Maraas [Mon, 4 Jun 2007 11:04:32 +0000 (11:04 +0000)]
Update Norwegian bokmål translation.

2007-06-04  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Update Norwegian bokmål translation.

svn path=/trunk/; revision=18021

18 years agoAdd new GtkRadioButton API.
Emmanuele Bassi [Sun, 3 Jun 2007 23:39:47 +0000 (23:39 +0000)]
Add new GtkRadioButton API.

2007-06-04   Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtk-sections.txt: Add new GtkRadioButton API.

svn path=/trunk/; revision=18020

18 years agoAdd gtk_radio_button_set_value(), gtk_radio_button_get_current_value() and
Emmanuele Bassi [Sun, 3 Jun 2007 23:39:43 +0000 (23:39 +0000)]
Add gtk_radio_button_set_value(), gtk_radio_button_get_current_value() and

2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkradiobutton.h:
* gtk/gtkradiobutton.c:
* gtk/gtk.symbols: Add gtk_radio_button_set_value(),
gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
Use these functions to set and get an arbitrary integer associated to
a GtkRadioButton in a group, like the value associated to a
GtkRadioAction.

* tests/testgtk.c:
(create_radio_buttons), (radio_toggled_cb): Exercise the new API.

svn path=/trunk/; revision=18019

18 years agoInitialize unthemed_icon to NULL to avoid accessing uninitialized memory
Torsten Schönfeld [Sun, 3 Jun 2007 20:44:10 +0000 (20:44 +0000)]
Initialize unthemed_icon to NULL to avoid accessing uninitialized memory

* gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
to avoid accessing uninitialized memory when
gtk_icon_theme_choose_icon() is called with an empty names list.

svn path=/trunk/; revision=18018

18 years agoSet the key modifier state.
Richard Hult [Sun, 3 Jun 2007 18:51:16 +0000 (18:51 +0000)]
Set the key modifier state.

2007-06-03  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
modifier state.

svn path=/trunk/; revision=18017

18 years agoMake pointer grab emulation work a bit better:
Richard Hult [Sun, 3 Jun 2007 18:48:47 +0000 (18:48 +0000)]
Make pointer grab emulation work a bit better:

2007-06-03  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
better:
(gdk_display_pointer_is_grabbed): Do what the docs say and don't
consider implicit grabs here.
(gdk_pointer_grab): Overriding a grab by the same app should always be
succesful.
(gdk_event_translate): Implicit grabs should not be owner events.

svn path=/trunk/; revision=18016

18 years agoUpdates
Matthias Clasen [Sun, 3 Jun 2007 06:10:19 +0000 (06:10 +0000)]
Updates

svn path=/trunk/; revision=18015

18 years agoAdd volume button to gallery
Matthias Clasen [Sun, 3 Jun 2007 05:34:56 +0000 (05:34 +0000)]
Add volume button to gallery

svn path=/trunk/; revision=18014

18 years agoFix typo
Matthias Clasen [Sun, 3 Jun 2007 04:56:00 +0000 (04:56 +0000)]
Fix typo

svn path=/trunk/; revision=18013

18 years agoAllow to disable Xinerama. (#348065, Diego Pettenò)
Matthias Clasen [Sun, 3 Jun 2007 04:54:15 +0000 (04:54 +0000)]
Allow to disable Xinerama. (#348065, Diego Pettenò)

2007-06-03  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)

svn path=/trunk/; revision=18012

18 years agoUpdate changelog.
Xan Lopez [Sun, 3 Jun 2007 04:28:28 +0000 (04:28 +0000)]
Update changelog.

svn path=/trunk/; revision=18011

18 years agoRemove g_return_if_fail checks from private functions.
Xan Lopez [Sun, 3 Jun 2007 04:28:16 +0000 (04:28 +0000)]
Remove g_return_if_fail checks from private functions.

svn path=/trunk/; revision=18010

18 years agoThe page num parameter is unused is redundant and unused in
Xan Lopez [Sun, 3 Jun 2007 04:27:56 +0000 (04:27 +0000)]
The page num parameter is unused is redundant and unused in

the the switch_page and real_switch_page functions.

svn path=/trunk/; revision=18009

18 years agoForgotten file
Matthias Clasen [Sat, 2 Jun 2007 11:41:24 +0000 (11:41 +0000)]
Forgotten file

svn path=/trunk/; revision=18008

18 years agoFix the coordinates in crossing events so they are relative to the right
Richard Hult [Fri, 1 Jun 2007 21:46:45 +0000 (21:46 +0000)]
Fix the coordinates in crossing events so they are relative to the right

2007-06-01  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c:
(get_converted_window_coordinates), (create_crossing_event): Fix the
coordinates in crossing events so they are relative to the right
window.

svn path=/trunk/; revision=18007

18 years agoMake function naming consistent for the various functions that retrieve
Richard Hult [Fri, 1 Jun 2007 21:03:34 +0000 (21:03 +0000)]
Make function naming consistent for the various functions that retrieve

2007-06-01  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.[ch]: Make function naming
consistent for the various functions that retrieve data from an
event.

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
_gdk_quartz_window_find_child_by_point() function.

svn path=/trunk/; revision=18006

18 years agoAdd support for composited child windows. (#412882, Ryan Lortie)
Matthias Clasen [Fri, 1 Jun 2007 12:16:12 +0000 (12:16 +0000)]
Add support for composited child windows. (#412882, Ryan Lortie)

2007-06-01  Matthias Clasen  <mclasen@redhat.com>

        Add support for composited child windows.  (#412882, Ryan Lortie)

        * gdk/gdk.symbols:
        * gdk/gdkdisplay.h:
        * gdk/gdkinternals.h:
        * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
        gdk_window_set_composited().

        * gdk/x11/gdkevents-x11.c:
        * gdk/x11/gdkdisplay-x11.[hc]:
        * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.

        * gdk/win32/gdkdisplay-win32.c:
        * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.

        * gdk/quartz/gdkdisplay-quartz.c:
        * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.

        * gdk/directfb/gdkdisplay-directfb.c:
        * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.

        * tests/testgtk.c: Add a "composited window" test.

svn path=/trunk/; revision=18004

18 years agodon't switch submenu opening direction for overlapping reasons if there is
Michael Natterer [Fri, 1 Jun 2007 11:02:11 +0000 (11:02 +0000)]
don't switch submenu opening direction for overlapping reasons if there is

2007-06-01  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
submenu opening direction for overlapping reasons if there is even
less space on the other side (bug #441863, Tommi Komulainen).

svn path=/trunk/; revision=18002

18 years agochange fix for #347883 to not obfuscate the code.
Michael Natterer [Fri, 1 Jun 2007 08:19:12 +0000 (08:19 +0000)]
change fix for #347883 to not obfuscate the code.

2007-06-01  Michael Natterer  <mitch@imendio.com>

* gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
to not obfuscate the code.

svn path=/trunk/; revision=18001

18 years agoAvoid recreating pangolayouts in GtkTextView on cursor movement (#435405,
Yevgen Muntyan [Fri, 1 Jun 2007 06:25:43 +0000 (06:25 +0000)]
Avoid recreating pangolayouts in GtkTextView on cursor movement (#435405,

2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>

Avoid recreating pangolayouts in GtkTextView on cursor movement
(#435405, Behdad Esfahbod).

* gtk/gtktextlayout.c:
* gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
and functions gtk_text_layout_invalidate_cursors() and
gtk_text_layout_cursors_changed(), to use when invalidation is due
to moved marks or changed selection.

* gtk/gtktextbtree.c:
* gtk/gtktextbtree.h: use what's appropriate when invalidating layout.

* gtk/gtk.symbols: add new functions.

* README.in: added a note about changed GtkTextLayout API.

svn path=/trunk/; revision=18000

18 years agoFix doc typos.
Alp Toker [Fri, 1 Jun 2007 05:10:50 +0000 (05:10 +0000)]
Fix doc typos.

2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>

* gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.

svn path=/trunk/; revision=17999

18 years agouse text colors from widget style to draw cursor instead of hardcoded
Yevgen Muntyan [Fri, 1 Jun 2007 05:02:05 +0000 (05:02 +0000)]
use text colors from widget style to draw cursor instead of hardcoded

2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
widget style to draw cursor instead of hardcoded black and grey
(#79585, comment #30).

svn path=/trunk/; revision=17998

18 years agotransform the ink_rect using pango_extents_to_pixels to avoid rounding
Kristian Rietveld [Thu, 31 May 2007 22:21:55 +0000 (22:21 +0000)]
transform the ink_rect using pango_extents_to_pixels to avoid rounding

2007-06-01  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
Shlomi Israel).

svn path=/trunk/; revision=17996

18 years agoReactivate the other file-chooser tests. Forgot that before commiting revision 17994.
Mathias Hasselmann [Thu, 31 May 2007 21:52:05 +0000 (21:52 +0000)]
Reactivate the other file-chooser tests. Forgot that before commiting revision 17994.

svn path=/trunk/; revision=17995

18 years agoReset the internal response_requested flag, once the response triggered by file_choos...
Mathias Hasselmann [Thu, 31 May 2007 21:45:20 +0000 (21:45 +0000)]
Reset the internal response_requested flag, once the response triggered by file_chooser_widget_response_requested has been processed (#347883)

svn path=/trunk/; revision=17994

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 31 May 2007 09:08:25 +0000 (09:08 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=17992

18 years agoAdd this function, bug #438440.
Richard Hult [Wed, 30 May 2007 17:20:26 +0000 (17:20 +0000)]
Add this function, bug #438440.

2007-05-30  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
function, bug #438440.

svn path=/trunk/; revision=17991

18 years agoSupply the current GError for fatal_error_handler(). (#441443)
Chris Wilson [Wed, 30 May 2007 16:11:48 +0000 (16:11 +0000)]
Supply the current GError for fatal_error_handler(). (#441443)

2007-05-30  Chris Wilson  <chris@chris-wilson.co.uk>

    * io-jpeg.c (gdk_pixbuf__jpeg_image_stop_load):
    Supply the current GError for fatal_error_handler(). (#441443)

svn path=/trunk/; revision=17989

18 years agoSubtract the multi-monitor offset from x and y before setting up the
Tor Lillqvist [Wed, 30 May 2007 15:44:28 +0000 (15:44 +0000)]
Subtract the multi-monitor offset from x and y before setting up the

2007-05-30  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
multi-monitor offset from x and y before setting up the rectangle
for ClipCursor(). Fixes #442326.

svn path=/trunk/; revision=17988

18 years agoQueue a resize if the size changed. (#418047, Alex Graveley)
Matthias Clasen [Wed, 30 May 2007 13:28:24 +0000 (13:28 +0000)]
Queue a resize if the size changed. (#418047, Alex Graveley)

2007-05-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
        if the size changed.  (#418047, Alex Graveley)

svn path=/trunk/; revision=17985

18 years agoClosed #442183 – Updated gdk/gdkkeysyms-update.pl
Simos Xenitellis [Wed, 30 May 2007 13:23:40 +0000 (13:23 +0000)]
Closed #442183 – Updated gdk/gdkkeysyms-update.pl

svn path=/trunk/; revision=17984

18 years agoFix to update the file chooser entry
Emmanuele Bassi [Wed, 30 May 2007 12:27:47 +0000 (12:27 +0000)]
Fix to update the file chooser entry

Return after setting the file chooser entry instead of falling through. Also
remove the handling for the search and recent files operation modes, since
they don't have a location entry to update.

svn path=/trunk/; revision=17983

18 years agoCorrect the handling of display names.
Matthias Clasen [Wed, 30 May 2007 05:56:32 +0000 (05:56 +0000)]
Correct the handling of display names.

svn path=/trunk/; revision=17982

18 years agoForgot the bug number.
Xan Lopez [Tue, 29 May 2007 22:33:29 +0000 (22:33 +0000)]
Forgot the bug number.

svn path=/trunk/; revision=17981

18 years agoUpdate
Xan Lopez [Tue, 29 May 2007 22:13:57 +0000 (22:13 +0000)]
Update

svn path=/trunk/; revision=17980

18 years agoSmall cleanup in gtk_notebook_set_current_page and fix doc typo.
Xan Lopez [Tue, 29 May 2007 22:13:42 +0000 (22:13 +0000)]
Small cleanup in gtk_notebook_set_current_page and fix doc typo.

svn path=/trunk/; revision=17979

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 29 May 2007 15:53:28 +0000 (15:53 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17978

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 29 May 2007 15:53:01 +0000 (15:53 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17977

18 years agoFix initialization of last cursor
Cody Russell [Tue, 29 May 2007 01:04:59 +0000 (01:04 +0000)]
Fix initialization of last cursor

svn path=/trunk/; revision=17973

18 years agoBreak out code that was repeated into separate functions and call them
Richard Hult [Mon, 28 May 2007 21:11:55 +0000 (21:11 +0000)]
Break out code that was repeated into separate functions and call them

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
(get_ancestor_coordinates_from_child): Break out code that was
repeated into separate functions and call them instead.
(find_window_for_mouse_nsevent): Break out this from
find_window_for_nsevent to make the code clearer.
(find_window_for_nsevent): Use the above and fix the returned
coordinates in the process so that they are always relative the
found window, both for the normal case and during grabs. Still
needs fixing for the case where we get nsevents for a window other
than than grab window during grabs.

svn path=/trunk/; revision=17971

18 years agoFix typo, we need both press and release in the mask to trigger implicit
Richard Hult [Mon, 28 May 2007 20:55:26 +0000 (20:55 +0000)]
Fix typo, we need both press and release in the mask to trigger implicit

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
  we need both press and release in the mask to trigger implicit
grabs.

svn path=/trunk/; revision=17970

18 years agoReset all the grab state, to help debugging. (gdk_event_translate): Use
Richard Hult [Mon, 28 May 2007 20:51:11 +0000 (20:51 +0000)]
Reset all the grab state, to help debugging. (gdk_event_translate): Use

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
all the grab state, to help debugging.
(gdk_event_translate): Use pointer_ungrab_internal instead of
duplicating the code here.

svn path=/trunk/; revision=17969

18 years agoRefactored version of _gdk_quartz_window_find_child_by_point, that doesn't
Richard Hult [Mon, 28 May 2007 20:42:51 +0000 (20:42 +0000)]
Refactored version of _gdk_quartz_window_find_child_by_point, that doesn't

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
(_gdk_quartz_window_find_child): Refactored version of
_gdk_quartz_window_find_child_by_point, that doesn't return any
coordinates as the users of this function already have the
coordinates and need to translate them differently.
(_gdk_windowing_window_get_pointer): Fixup coordinate translation.
(_gdk_windowing_window_at_pointer): Likewise.

svn path=/trunk/; revision=17968

18 years agoDon't traverse beyond the toplevel of the passed in window.
Richard Hult [Mon, 28 May 2007 20:24:59 +0000 (20:24 +0000)]
Don't traverse beyond the toplevel of the passed in window.

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c
(find_window_interested_in_event_mask): Don't traverse beyond the
toplevel of the passed in window.

svn path=/trunk/; revision=17967

18 years agoSet a size for the root window.
Richard Hult [Mon, 28 May 2007 20:22:26 +0000 (20:22 +0000)]
Set a size for the root window.

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
a size for the root window.

svn path=/trunk/; revision=17966

18 years agoAdd comments about what various coordinates are relative to.
Richard Hult [Mon, 28 May 2007 20:20:46 +0000 (20:20 +0000)]
Add comments about what various coordinates are relative to.

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: Add comments about what various
coordinates are relative to.

svn path=/trunk/; revision=17965

18 years agoAdd back variable declaration removed in r17958.
Carlos Garnacho [Mon, 28 May 2007 13:34:39 +0000 (13:34 +0000)]
Add back variable declaration removed in r17958.

2007-05-28  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
        Add back variable declaration removed in r17958.

svn path=/trunk/; revision=17964

18 years agoAdd new capability GTK_PRINT_CAPABILITY_NUMBER_UP.
Carlos Garcia Campos [Mon, 28 May 2007 10:41:09 +0000 (10:41 +0000)]
Add new capability GTK_PRINT_CAPABILITY_NUMBER_UP.

2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
* gtk/gtkprinter.[ch]: Add new capability
GTK_PRINT_CAPABILITY_NUMBER_UP.
* docs/reference/gtk/tmpl/gtkprintunixdialog.sgml:
* gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
* modules/printbackends/file/gtkprintbackendfile.c:
(file_printer_get_options), (file_printer_get_settings_from_options):
* modules/printbackends/cups/gtkprintbackendcups.c:
(cups_printer_get_capabilities): Add a new print capability to specify
whether print dialog will offer printing multiple pages per sheet. (#398414)

svn path=/trunk/; revision=17963

18 years agoDocument some more signals
Matthias Clasen [Mon, 28 May 2007 06:46:33 +0000 (06:46 +0000)]
Document some more signals

svn path=/trunk/; revision=17958

18 years agoImprove docs
Matthias Clasen [Mon, 28 May 2007 05:18:51 +0000 (05:18 +0000)]
Improve docs

svn path=/trunk/; revision=17957

18 years agoforgotten file
Matthias Clasen [Mon, 28 May 2007 05:01:56 +0000 (05:01 +0000)]
forgotten file

svn path=/trunk/; revision=17956

18 years agoDrop bogus -user32 switch. Was supposed to be -luser32, but he "l" was
Tor Lillqvist [Sun, 27 May 2007 18:45:09 +0000 (18:45 +0000)]
Drop bogus -user32 switch. Was supposed to be -luser32, but he "l" was

2007-05-27  Tor Lillqvist  <tml@novell.com>

* configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
supposed to be -luser32, but he "l" was missing. But nobody has
noticed, so presumably unnecessary.

svn path=/trunk/; revision=17955

18 years agomore signal linkification
Matthias Clasen [Sun, 27 May 2007 03:02:29 +0000 (03:02 +0000)]
more signal linkification

svn path=/trunk/; revision=17949

18 years agoSome cleanups
Matthias Clasen [Sun, 27 May 2007 02:59:45 +0000 (02:59 +0000)]
Some cleanups

2007-05-26   Matthias Clasen  <mclasen@redhat.com>

        * gtk/migrating*.sgml: Some cleanups

svn path=/trunk/; revision=17948

18 years agoMove docs inline
Matthias Clasen [Sun, 27 May 2007 02:32:21 +0000 (02:32 +0000)]
Move docs inline

2007-05-26   Matthias Clasen  <mclasen@redhat.com>

        * gtk/tmpl/gtkentry.sgml: Move docs inline

        * gtk/tmpl/gtklinkbutton.sgml:
        * gtk/tmpl/gtkfilechooser.sgml:
        * gtk/tmpl/gtkcellrenderer.sgml:
        * gtk/tmpl/gtkenums.sgml:
        * gtk/tmpl/gtkcontainer.sgml: Additions

svn path=/trunk/; revision=17947

18 years agoMore doc fixups
Matthias Clasen [Sun, 27 May 2007 01:53:59 +0000 (01:53 +0000)]
More doc fixups

svn path=/trunk/; revision=17946

18 years agoRemove GdkBitmap
Matthias Clasen [Sun, 27 May 2007 01:39:28 +0000 (01:39 +0000)]
Remove GdkBitmap

2007-05-26   Matthias Clasen  <mclasen@redhat.com>

        * gdk/gdk-overrides.txt: Remove GdkBitmap
        * gtk/gtk-sections.txt:
        * gtk/tmpl/gtkenums.sgml:
        * gdk/tmpl/rgb.sgml:
        * gdk/tmpl/gcs.sgml:
        * gdk/tmpl/pango_interaction.sgml:
        * gdk/tmpl/windows.sgml: Additions

svn path=/trunk/; revision=17945

18 years agoRemove duplicate doc comments that cause problems when building the docs.
Matthias Clasen [Sun, 27 May 2007 01:36:52 +0000 (01:36 +0000)]
Remove duplicate doc comments that cause problems when building the docs.

2007-05-26  Matthias Clasen  <mclasen@redhat.com>

        * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
        that cause problems when building the docs.

svn path=/trunk/; revision=17944

18 years agoAdd new api
Matthias Clasen [Sat, 26 May 2007 20:56:19 +0000 (20:56 +0000)]
Add new api

svn path=/trunk/; revision=17943

18 years agoUpdate docs
Matthias Clasen [Sat, 26 May 2007 20:50:34 +0000 (20:50 +0000)]
Update docs

svn path=/trunk/; revision=17942

18 years agoUpdate docs
Matthias Clasen [Sat, 26 May 2007 20:49:08 +0000 (20:49 +0000)]
Update docs

svn path=/trunk/; revision=17941

18 years agoAdd new api
Matthias Clasen [Sat, 26 May 2007 20:45:41 +0000 (20:45 +0000)]
Add new api

svn path=/trunk/; revision=17940

18 years agoFix docs
Matthias Clasen [Sat, 26 May 2007 20:43:23 +0000 (20:43 +0000)]
Fix docs

svn path=/trunk/; revision=17939

18 years agoMore doc fixage
Matthias Clasen [Sat, 26 May 2007 20:39:14 +0000 (20:39 +0000)]
More doc fixage

svn path=/trunk/; revision=17938

18 years agoMore doc fixage
Matthias Clasen [Sat, 26 May 2007 20:29:26 +0000 (20:29 +0000)]
More doc fixage

svn path=/trunk/; revision=17937

18 years agoMore doc fixes
Matthias Clasen [Sat, 26 May 2007 20:24:25 +0000 (20:24 +0000)]
More doc fixes

svn path=/trunk/; revision=17936